const hasToken = ()=> {
    const token = uni.getStorageSync('token');
    if (token) {
        // console.log(token);
        return true
    }else{
        uni.navigateTo({
            url: '/pages/components/login/login'
        });
    }
}
export default hasToken
